<?php
class Admin_IndexController extends SedController 
{
    	function indexAction(){
    		$smarty = FRM::load('smarty'); 
    		$cur_login_user = unserialize(FRM_Session::get('user_serialize'));
    		
    		$modelCat = new Category();
    		$category = $modelCat->getList();
    		
    		$modelGarage = new Garage();
    		$garage = $modelGarage->getListSearch();
            
    		$smarty->assign('category', $category);
    		$smarty->assign('garage', $garage);
    		$smarty->assign('current_user', $cur_login_user);
            $smarty->display('public/index.html');
        }
      
}
?>